/**
 * 定义污水厂实体
 */
(function(window, angular, undefined){
	var PsWwtpAttrManagerModule = angular.module('water.entity.PsWwtpAttr', ['waterCommon']);
	
	PsWwtpAttrManagerModule.service('$PsWwtpAttrService',function($waterDataCommon){
		/**
		 * 获取污水厂数据
		 * WWTP_ID
		 * NAME
		 */
		this.getList = function(data){
			var promise = $waterDataCommon.post("/PsWwtpAttr/getList",data);
			return promise;
		}
		/**
		 * 更新污水厂
		 */
		this.updateModel = function(data){
			var promise = $waterDataCommon.updateModel("BC_ENTERPRISE_ATTR",data);
			return promise;
		}
		
		/**
		 * 获取工业污染源-废气数据
		 * WWTP_ID
		 * NAME
		 */
		this.getGyfqQyList = function(data){
			var promise = $waterDataCommon.post("/PsWwtpAttr/getGyfqQyList",data);
			return promise;
		}
	});
}(window, angular));